<?php
class p_aboutus extends page_controllor 
{
    public function __construct($get_param)
    {
        $this->__need_login = false;
        parent::__construct($get_param);
    }
    public function run()
    {
        $oArraytree = new lib_arraytree(array());

        $oArraytree->restart(k::config('product_map'));
        $namefield = $this->__isLangEng ? 'eng_name' : 'name';
        $out_data['product_map'] = $oArraytree->get_id2field( $namefield );
        
        $oArraytree->restart(k::config('material'));
        $namefield = $this->__isLangEng ? 'eng_name' : 'name';
        $out_data['material'] = $oArraytree->get_id2field( $namefield );
        
        $oArraytree->restart(k::config('product_class'));
        $namefield = $this->__isLangEng ? 'eng_name' : 'name';
        $out_data['product_class'] = $oArraytree->get_id2field( $namefield );
        
        $this->set_page_title($this->__lang['gTitle_p_aboutus'].'_'.$this->__lang['gTitle_page_title']);
        $this->output('aboutus' , $out_data);
    }
}
?>